﻿ALTER TABLE [bgt].[Journal]
    ADD CONSTRAINT [FK_bgtJournal_REF_bgtJournalBatch] FOREIGN KEY ([JournalBatchId]) REFERENCES [bgt].[JournalBatch] ([JournalBatchId]) ON DELETE NO ACTION ON UPDATE NO ACTION;

